let fs=require('fs')
let path=require('path')
let http=require('http')
http.createServer((req,res)=>{

    path.join
    path.resolve
    if(req.url==='/favicon.ico') return;
    if(req.url==='/'){
         res.end(fs.readFileSync(path.join(__dirname, 'index.html')))
    }
    if(req.url==='/a'){
       res.end('123')
        
   }
   
}).listen(9000)